package com.guanglan.service;

import com.guanglan.entity.SysPermission;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * 作者: 光蓝Comet
 * Date: 2018-06-20 15:33
 * Description: 一句话说明这个类的作用
 * Since 1.0
 */
public interface SysPermissionService {

    int deleteByPrimaryKey(Long id);

    int insert(SysPermission sysPermission);

    int insertSelective(SysPermission sysPermission);

    SysPermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysPermission sysPermission);

    int updateByPrimaryKey(SysPermission sysPermission);

    List<SysPermission> selectSysPermissionsByMenuName(String menuName);

    List<SysPermission> getPerms();

}
